package com.shiro.demo.domain;

import lombok.Data;
import java.io.Serializable;
/**
 * @author tracyclock 2017-12-08
 */
@Data
public class Permission  implements Serializable{
    private Long id;
    private String url;
    private String name;
    private String resourceType;//资源类型，[menu|button]
    private String permission; //权限字符串,menu例子：role:*，button例子：role:create,role:update,role:delete,role:view
    private Long parentId; //父编号
    private String parentIds; //父编号列表
    private Integer status ;
}
